/*
  THIRD PARTY LICENSE NOTICE:

  Portions of this file are sourced from Chromium:

    Copyright (c) 2020 The Chromium Authors. All rights reserved.
    Use of this source code is governed by a BSD-style license that can be
    found in the LICENSE.chromium file.
*/

.pie-chart {
    align-items: center;
    display: flex;
    min-width: fit-content;
    white-space: nowrap;
}

.pie-chart-root {
    position: relative;
    overflow: hidden;
}

.pie-chart-foreground {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    top: 0;
    display: flex;
    pointer-events: none;
}

.pie-chart-total {
    margin: auto;
    padding: 2px 5px;
    pointer-events: auto;
}

.pie-chart-legend {
    margin-left: 30px;
}

.pie-chart-legend-row {
    margin: 5px 2px 5px auto;
    padding-right: 25px;
}

.pie-chart-size {
    display: inline-block;
    text-align: right;
    width: 70px;
}

.pie-chart-swatch {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin: 0 6px;
    top: 1px;
    position: relative;
    border: 1px solid rgb(100 100 100 / 20%);
}

.pie-chart-swatch.pie-chart-empty-swatch {
    border: none;
}

.pie-chart-name {
    display: inline-block;
}